from common.locate_by import By

class LocTeamDetail:

    loc_close = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_area_code = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "行政区域:",
        "seq": 1,
    }

    loc_park_code = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "园区名称:",
        "seq": 2,
    }

    loc_name = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "队伍名称:",
    }

    loc_unit_type = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "队伍分类:",
        "seq": 3,
    }

    loc_team_level = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "队伍级别:",
        "seq": 4,
    }

    loc_business_area = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "业务领域:",
        "seq": 5,
    }

    loc_sum_num = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.spinbutton,
        "loc_name": "总人数:",
    }

    loc_affiliated_unit = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "所属单位:",
    }

    loc_principal = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "负责人:",
    }

    loc_principal_tel = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "联系方式:",
    }

    loc_tel = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "值班电话:",
    }

    loc_resident_position_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "常驻位置:",
    }

    loc_geom = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "空间坐标:",
    }
    loc_geom_close = {
        "page_role": By.dialog,
        "page_title": "坐标信息",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_address = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "地址:",
    }

    loc_score = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "得分:",
    }

    loc_pass = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "是否及格:",
    }

    loc_unit_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "应急队伍编码:",
    }

    loc_resident_position_desc = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "地址:",
    }

    loc_enterprise_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "所属企业:",
    }

    loc_linkman = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "联系人:",
    }

    loc_linkman_tel = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "联系人电话:",
    }

    loc_longitude = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "经度:",
    }

    loc_latitude = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "纬度:",
    }

    loc_grade_score = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "评分结果:",
    }

    loc_nature = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "队伍性质:",
    }
